General Motors reported a 32 % decline in second-quarter core profit, citing a $1.1 billion hit from U.S. tariffs implemented under former President Trump.